<!--
 * @Description: 元素选择器
 * @Author: rendc
 * @Date: 2021-08-05 16:21:47
 * @LastEditors: rendc
 * @LastEditTime: 2021-08-05 16:24:53
-->
<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>元素选择器</title>
  <style>
    p {
      color: tomato;
    }

    li {
      border: 1px solid yellowgreen;
    }
  </style>
</head>

<body>
  <div>
    <p>1</p>
    <p>2</p>
    <ul>
      <li>1</li>
      <li>2</li>
      <li>3</li>
      <p>3</p>
    </ul>
    <p>3</p>
  </div>
</body>

</html>